import 'dart:ui';

class SQColor {
  static Color textColorListTitle = per87Black; //列表标题颜色
  static Color textColorListSubTitle = per60Black; //列表副标题颜色
  static Color textColorListBtn = theme_color; //列表上的按钮字号
  static Color textColorLineLeft =
      per38Black; //一行说明的左边说明文字颜色 如  "项目报价：5000元"中"项目报价："的颜色
  static Color textColorLineRight =
      per60Black; //一行说明的右边说明文字颜色 如  "项目报价：5000元"中"5000元"的颜色

  static Color theme_color = Color(0xFF3264F5); //主题色
  static Color theme_Bg_color = Color(0xFFF6F7F8); //所有页面背景色
  static Color theme_color30 = Color(0x303264F5); //主题色
  static Color app_bar_bgcolor = Color(0xFFCEE0FC);//导航栏背景色
  static Color red = Color(0xFFf34534);
  static Color orange = Color(0xFFff6900);
  static Color orange_F15117 = Color(0xFFF15117);
  static Color white = Color(0xFFFFFFFF);
  static Color black = Color(0xFF000000);
  static Color black1a1a1a = Color(0xFF1A1A1A);
  static Color primary = Color(0xFF23B38E);
  static Color secondary = Color(0xFF0f9d58);
  static Color secondary1 = Color(0xffFBBC04);
  static Color paper = Color(0xFFF5F5F5);
  static Color bgColor = Color(0xFFFFFFFF);
  static Color line = Color(0xffcecece);
  static Color lineE7E7E7 = Color(0xffe7e7e7);
  static Color lightGray = Color(0xFFf5f5f5);
  static Color lightGray1 = Color(0xFFf6f6f6);
  static Color darkGray = Color(0xFF333333);
  static Color gray = Color(0xFF66888888);
  static Color blue = Color(0xFF5c85de);
  static Color bluea0 = Color(0xa05c85de);
  static Color golden = Color(0xff8B7961);
  static Color green_31b4af = Color(0xff31b4af);
  static Color black_f4f4f4 = Color(0xfff4f4f4);
  static Color black_222222 = Color(0xff222222);
  static Color black_333333 = Color(0xff333333);
  static Color black_444444 = Color(0xff444444);
  static Color black_cecece = Color(0xffcecece);
  static Color black_282828 = Color(0xff282828);
  static Color black_d1cbb3 = Color(0xffd1cbb3);
  static Color black_bfc1b6 = Color(0xffbfc1b6);
  static Color black_666666 = Color(0xff666666);
  static Color black_999999 = Color(0xff999999);
  static Color black_8e8e8e = Color(0xff8e8e8e);
  static Color black_9B9B9B = Color(0xff9B9B9B);
  static Color black_F2F2F2 = Color(0xffF2F2F2);
  static Color black_003793 = Color(0xff003793);
  static Color black_7F91A0 = Color(0xff7F91A0);

  static Color black_b2b2b2 = Color(0xffb2b2b2);
  static Color per90White = Color(0xe6ffffff);
  static Color per70White = Color(0xb3ffffff);
  static Color per60White = Color(0x99ffffff);
  static Color per50White = Color(0x80ffffff);
  static Color per90Black = Color(0xe6000000);
  static Color per87Black = Color(0xde000000);
  static Color per75Black = Color(0xbf000000);
  static Color per60Black = Color(0x99000000);
  static Color per38Black = Color(0x61000000);
  static Color perBordreBlack = Color(0x51000000);
  static Color per28Black = Color(0x47000000);
  static Color per12Black = Color(0x1f000000);
  static Color per8Black = Color(0x14000000);
  static Color per3Black = Color(0x08000000);
  static Color color_green_0F9D58 = Color(0xff0F9D58);
  static Color color_green_B3B60C = Color(0xffB3B60C);
  static Color color_green_3C660C = Color(0xff3C660C);

  static Color transparent = Color(0x00000000);

  static Color color_e3f2ff = Color(0xffe3f2ff);
  static Color color_3cc6fd = Color(0xff118eea);
  static Color color_1d61d5 = Color(0xff1d61d5);
  static Color color_black_bg = Color(0x88333333);
  static Color color_blue_40A9FF = Color(0xff40A9FF);

  static Color gztFXSH = Color(0xfff8952f);
  static Color gztYHPC = Color(0xff118eea);
  static Color gztDSRW = Color(0xff1eb28e);
  static Color gztYHSB = Color(0xff118eea);
  static Color gztYHCL = Color(0xff118eea);
  static Color gztSWTZ = Color(0xff1eb28e);
  static Color gztYHZG = Color(0xffff5343);
  static Color gztYHYS = Color(0xff1eb28e);
  static Color gztSWDJ = Color(0xff118eea);
  static Color gztSWGL = Color(0xff118eea);
  static Color gztPCJL = Color(0xff1eb28e);
  static Color gztYHHC = Color(0xfff8952f);
  static Color gztYHTJ = Color(0xff118eea);

  static Color order_line = Color(0xffe4e4e4);
  static Color order_btn_bac = Color(0xFFE3F2FF);
  static Color order_btn_text = Color(0xFF1A73E8);

  static Color order_aqzx = Color(0xff1a73e8);
  static Color order_zywszx = Color(0xff0f9d58);
  static Color order_hbzx = Color(0xffb7d653);
  static Color order_jcjs = Color(0xff0f9d58);
  static Color order_gczx = Color(0xff1a73e8);
  static Color order_syxpj = Color(0xff77b900);
  static Color order_xfaq = Color(0xffdd4814);
  static Color order_bxdl = Color(0xfffbbc04);
  static Color order_jypx = Color(0xfff15915);
  static Color order_bxgg = Color(0xff1a73e8);
  static Color order_xtgj = Color(0xfffbbc04);
  static Color train_test1 = Color(0xffE3F2FF);
  static Color train_0D8DFF = Color(0xff0D8DFF);
  static Color train_1D8CFF = Color(0xff1D8CFF);
  static Color train_47C2FF = Color(0xff47C2FF);
  ///合约发单
  static Color hyfd_balance = Color(0xffF5C543);
  static Color hyfd_sr = Color(0xffF15218);

  /// 我的 渐变色
  static Color PXBHome_GridOneItem_Gradient_TopColor = Color(0xff1467CA);
  static Color PXBHome_GridOneItem_Gradient_BettomColor = Color(0xff168BF7);
  static Color PXBHome_GridTwoItem_Gradient_TopColor = Color(0xff3280A6);
  static Color PXBHome_GridTwoItem_Gradient_BettomColor = Color(0xff07A3D6);
  static Color PXBHome_GridThreeItem_Gradient_TopColor = Color(0xff47ADA7);
  static Color PXBHome_GridThreeItem_Gradient_BettomColor = Color(0xff0C889A);
  static Color PXBHome_GridFourItem_Gradient_TopColor = Color(0xfff8b957);
  static Color PXBHome_GridFourItem_Gradient_BettomColor = Color(0xffb27217);
  static Color PXBHome_GridFiveItem_Gradient_TopColor = Color(0xff9b78f6);
  static Color PXBHome_GridFiveItem_Gradient_BettomColor = Color(0xff5e41ee);

  static Color bxMoney = Color(0xffED7213);
  static Color bxTitleBac = Color(0xffF2FAFF);

  static Color renzhengTiShiYanSe = Color(0xff69B9FE);
  static Color renzhengbgstateColor = Color(0xffe8f5ff);
  static Color tianjiayinhangka = Color(0x1fED7213);
  static Color tianjiayinhangkaText = Color(0xffED7213);
  static Color colorc7c7c7 = Color(0xffc7c7c7);
  static Color lightblue = Color(0x40A9FF2E);

  ///付费咨询
  static Color ffzx_wjd = Color(0xFFFF524C);//为解答文字颜色
  static Color ffzx_jswt = Color(0x1F3264F5);
  static Color yellow_F0891E = Color(0xffF0891E);
  static Color yellow_F1DBBE = Color(0xffF1DBBE);
  static Color yellow_F38F20 = Color(0xffF38F20);
  static Color yellow_F9C686 = Color(0xffF9C686);
  static Color yellow_F08A29 = Color(0xffF08A29);
  

  static Color blue_014C8A = Color(0xff014C8A);
  static Color black_D1D1D1 = Color(0xffD1D1D1);

  static Color black_BDBDBD = Color(0xffBDBDBD);
  static Color blue_026FFF = Color(0xff026FFF);

  static Color grey_F6F6F6 = Color(0xffF6F6F6);

  static Color grey_8F8F8F = Color(0xff8F8F8F);
  static Color grey_6A6A6A = Color(0xff6A6A6A);






  static Color getColor(String color,{int alpha}){
    String hex ="ff";
    if(alpha !=null){
      int a = (alpha/100*255).toInt();
      hex = a.toRadixString(16);
      if(hex.length ==1){
        hex = "0"+hex;
      }
    }
    if(color.contains("#")){
      color = color.substring(1);
    }
    var s = "0x$hex"+color;
    return Color(int.parse(s));
  }

  /**
   * 未读消息的颜色
   */
  static Color getUnreadColor(){
    return Color(0xffFFB030);
  }

  /**
   * 已读消息的颜色
   */
  static Color getReadColor(){
    return Color(0xff999999);
  }

  /**
   * 标题之类的字体颜色。 目前是 消息卡片
   */
  static Color getTitleColor(){
    return Color(0xff333333 );
  }

  /**
   * 内容之类的字体颜色。 目前是 消息卡片的具体内容
   */
  static Color getContentColor(){
    return Color(0xff666666);
  }
}
